package com.qqtop10.manager.service;

import java.util.List;

import com.qqtop10.manager.model.Address;

public interface AddressService {

	List<Address> tree(Address input);

	Address get(Address input);

	boolean delete(Address input);

	boolean add(Address input);

	boolean update(Address input);

	boolean setParent(Address input);

	boolean isRoot(Address input);
	
	Address selectByFullName(String fullName);
	
	Address selectByShortName(String shortName);
}